<form class="layui-form" action="">
	<div class="layui-form-item" pane="">
		<label class="layui-form-label">复选框</label>
		<div class="layui-input-block">
			<input type="checkbox" name="like1[write]" lay-skin="primary" title="写作" checked="">
			<input type="checkbox" name="like1[read]" lay-skin="primary" title="阅读">
			<input type="checkbox" name="like1[game]" lay-skin="primary" title="游戏" disabled="">
		</div>
	</div>

	<div class="layui-form-item">
		<label class="layui-form-label">开关</label>
		<div class="layui-input-block">
			<input type="checkbox" name="close" lay-skin="switch" lay-text="ON|OFF">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">开关</label>
		<div class="layui-input-block">
			<input type="checkbox" checked="" name="open" lay-skin="switch" lay-filter="switchTest" lay-text="ON|OFF">
		</div>
	</div>
	<button type="button" onclick="test()">sfdsdf</button>
	<button type="button" zkmap-event="test">sfdsdf</button>
</form>
<script type="text/javascript">
	layui.form.render();

	function test() {
		layui.mapObj.events.camera()
	}
</script>